package main

import (
	"html/template"
	"net/http"
)

func myHandle(w http.ResponseWriter, r *http.Request) {
	t := template.Must(template.ParseFiles("index.html"))
	t.Execute(w, "")
}

func main() {

	http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))
	http.HandleFunc("/", myHandle)
	http.ListenAndServe(":8080", nil)
}
